package com.qi.spzx.user.mapper;

import com.qi.spzx.model.entity.user.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2024/2/26 11:23
 * @Version 1.0.0
 */
@Mapper
public interface UserInfoMapper {


    @Select("select * from sys_user where username = #{username} and is_deleted = 1")
    UserInfo getByUsername(String username);


    void save(UserInfo userInfo);
}
